<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Seo extends Model
{
    protected $pk = 'id';

    public function description()
    {

        return $this->hasOne("seo_description", 'id', "id")->where("language_id",getLangs(session("lang", 'zh_CN')));

    }
}
